package org.example.test1.newservice.newserviceimpl;

import org.example.test1.newmapper.InsertMapper;
import org.example.test1.newservice.InsertService;
import org.example.test1.pojo.dto.InsertDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class InsertServiceimpl implements InsertService {
    @Autowired
    private InsertMapper insertMapper;

    @Override
    public void insert(InsertDto insertDto) {
        insertMapper.insert(insertDto);
    }
}
